﻿using Share;
using System.ComponentModel.DataAnnotations;

namespace SystemLYH.Domain
{
    /// <summary>
    /// 库位管理
    /// </summary>
    public class Location: Audit
    {
        /// <summary>
        /// 库位Id
        /// </summary>
        [Key]
        public int LocationId { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string? LocationName { get; set; }
       /// <summary>
        /// 库位编号
        /// </summary>
        public string? LocationNumber { get; set; }
        /// <summary>
        /// 库位面积
        /// </summary>
        public string? LocationArea { get; set; }
        /// <summary>
        /// 最大载重量
        /// </summary>
        public string? Locationweight { get; set; }
        /// <summary>
        /// 所属仓库
        /// </summary>
        public string? WarehouseID { get; set; }  
        /// <summary>
        /// 库位状态
        /// </summary>
        public bool LocationState { get; set; }
        /// <summary>
        /// 库位备注
        /// </summary>
        public string? LocationRemark { get; set; }
        /// <summary>
        /// 所属库位
        /// </summary>
        public string? ReservoirId { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelLocation { get; set; } = false;

    }
}
